fprintf(stderr, "NewFile: Couldn't open %s\n", file);
}
else
{
fprintf(stderr, "NewFile: Couldn't get port for %s. Opening in Workspace\n", app);
[self openinws:file];
}
return self;
}
// I'd rather discuss this.
- updateservices:sender
{
char cmd[MAXPATHLEN];
FILE *serviceFile;
int i, count;
id list;
char *typename;
if (NXRunAlertPanel("Update services?", "This action will alter the executable file and exit NewFile.", "Go ahead", "Cancel", NULL) == NX_ALERTDEFAULT)
{
[self savestate];
if ((serviceFile = fopen(SERVICE_FILE, "w")) == NULL) {
NXRunAlertPanel(NULL, "Could not open temporary file %s", NULL, NULL,